<template>
  <div class="center-wrap banner-ad">
    <img :src="bannerimg" alt="">
    <i class="iconfont icon-gg"></i>
  </div>
</template>

<script>
  export default{
    name:'BannerAd',
    props:['bannerimg']
  }
</script>

<style scoped>
  .banner-ad{
    position: relative;
    max-height: 134px;
    margin-bottom: 46px;
    cursor: pointer;
  }
  .banner-ad>img{
    width: 100%;
    height:100%;
    border-radius: 2px;
  }
  .banner-ad>i{
    position: absolute;
    font-size: 21px;
    color:#fff;
    left: 5px;
    bottom:5px;
    vertical-align: middle;
  }
</style>
